package com.spring.test.service;

import com.spring.test.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author wangjie
 * @Version V1.0.0
 * @Date Created in 2022/3/8 0008
 */

public interface UserService {
    //获取用户列表
    List<Object> getUserList();
    //用户注册
    public int setUser(User user);
    //检查几个相同用户名
    int checkUserName(String username);
    //通过用户名查找到密码
    boolean checkUserNameAndPwd(String username,String password);

    List<Object> getUserInfo(String username);

    int updateUserInfo(User user);

}
